home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group97a.txt
/
000117_icon-group-sender _Tue Apr 15 16:48:02 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Received: from kingfisher.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Wed, 16 Apr 1997 08:26:36 MST
Received: by kingfisher.CS.Arizona.EDU; (5.65v3.2/1.1.8.2/08Nov94-0446PM)
id AA02061; Wed, 16 Apr 1997 08:26:36 -0700
Date: Tue, 15 Apr 1997 16:48:02 -0700
From: swampler@noao.edu (Steve Wampler)
Subject: Re: Records in Icon
To: icon-group@cs.arizona.edu
Message-Id: <swampler-9703152348.AA001115590@orpheus.gemini.edu>
In-Reply-To: <19674@stryx.demon.co.uk>
Errors-To: icon-group-errors@cs.arizona.edu
Status: RO
Content-Length: 1103
Iain Alexander wrote:
> In message <334E5509.2A4@gemini.edu> Steve Wampler writes:
> >
> > Do you care why the two records 'match'? That is, do you need to
> > distinguish between your two example cases, or is it sufficient to
> > simply say "the records 'match'"?
> >
> > Here's a procedure that handles the latter case:
> >
> > procedure weakMatch(r1,r2)
> > return !r1 ~=== !r2
> > end
>
> Eh? What's that "~" doing there?
> (BTW, it wasn't clear to me whether the word "record" in the original
> was intended to refer to the Icon structure of that name. Your code
> (modulo suspected typo) obviously works just as well with a list,
> which might be a more appropriate data structure, depending on how
> variable the input is. But Stuart, it might be better to avoid the
> word "record" if what you actually meant was a structured line of text.)
Mea culpa - Ian is right - that is a typo. Thanks for catching that!
--
Steve Wampler - swampler@gemini.edu [Gemini 8m Telescopes Project (under AURA)]
O Sibile, si ergo, fortibus es inero.
Nobile, demis trux. Demis phulla causan dux.